/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.search;

/**
 * created on Jun 26, 2007
 * 
 * This class defines some constants for search functionality (= searching/aggregating
 * external resources and search within GroupMe!).
 * 
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: patrick $
 * 
 * @version $Revision: 1.13 $ $Date: 2008-10-21 14:50:36 $
 */
public class SEARCH_CONFIGURATION {
	
	/* TAG CLOUD stuff */
	/** the standard size of a <i>big-sized</i> tag cloud (k most popular tags) */
	public static final int TAG_CLOUD_BIG_MAX_NUMBER_OF_TAGS = 150;
	
	/** the standard size of a <i>middle-sized</i> tag cloud (k most popular tags) */
	public static final int TAG_CLOUD_MIDDLE_MAX_NUMBER_OF_TAGS = 50;
	
	/** the standard size of a <i>small-sized</i> tag cloud (k most popular tags) */
	public static final int TAG_CLOUD_SMALL_MAX_NUMBER_OF_TAGS = 10;
	
	/** how many days should be considered for the "recent tags tag cloud that is displayed on the GroupMe! start page */
	public static final long TAG_CLOUD_TIME_PERIOD_OF_RECENT_TAG_CLOUD = 120;
	

	/* AGGREGATION STUFF (searching for resources that should be included into GroupMe!) */

	/** the maximum number of results that should be returned by an aggregation search engine */
	public static final int AGGREGATION_MAXIMUM_NUMBER_OF_SEARCH_RESULTS = 10;
	
	/** the maximum number of results that should be returned by the flickr search engine */
	public static final int AGGREGATION_MAXIMUM_NUMBER_OF_FLICKER_SEARCH_RESULTS = 26;
	
	/* Other Search related constants */
	
	/** the maximum number of groups that should be listed somewhere (e.g. at the welcome page) */
	public static final int NUMBER_OF_GROUPS_TO_BE_LISTED = 10;
	
	/** the minimum number of resources that should be in a group that is listed  at the welcome page */
	public static final int NUMBER_OF_MINIMUM_RESOURCES_IN_GROUPS_FOR_STARTPAGE = 2;
	
	/* Search Engine indicators */
	
	/** Indicator to use the flickr search engine */
	public static final String SOURCE_FLICKR = "flickr";
	
	/** Indicator to use the google as search engine */
	public static final String SOURCE_GOOGLE = "google";
	
	/** Indicator to use the internal GroupMe! search engine in order to search for groups */
	public static final String SOURCE_GROUPME_GROUPS = "groupmegroups";
	
	/** Indicator to use the internal GroupMe! search engine in order to search for resources */
	public static final String SOURCE_GROUPME_RESOURCES = "groupmeresources";
	
	/** Indicator to Add a Resource manuall only by its URL */
	public static final String SOURCE_MANUALADD = "addbyurl"; 
	
	/** Indicator to search for rss feeds */
	public static final String SOURCE_RSSSEARCH = "rsssearch";

	/** Indicator to search for youtube vids */
	public static final String SOURCE_YOUTUBE = "youtube";
}
